package com.bl.student.service.biz.point;

import com.bl.student.common.enums.PointType;
import com.bl.student.dao.model.TeacherEntity;
import com.bl.student.dao.model.UserEntity;
import com.bl.student.service.vo.order.OrderModVo;
import com.bl.student.service.vo.point.PointListVo;
import com.bl.student.service.vo.point.PointModVo;
import com.bl.student.service.vo.point.PointTypeListVo;
import org.springframework.data.domain.Pageable;

import java.math.BigDecimal;

/**
 * Created by liangweikang on 18/8/5.
 */
public interface PointService {

    void addUserPoint(String userId, PointType type, int point, String isOut);

    void addTeacherPoint(String teacherId, PointType type, int point, String isOut);

    void addPoint(String userId, int point);

    void addPointPartyA(String teacherId, int point);

    void delPoint(UserEntity userEntity, int point);

    void delPointPartyA(TeacherEntity userEntity, int point);

    PointListVo getPointList(String userId, String type, Pageable pageabl);

    // 编辑积分类型
    void mod(PointModVo pointModVo);

    PointTypeListVo getPointTypeList();
}
